package com.example.filecollectionsystemdemo1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * (Users)表实体类
 *
 * @author makejava
 * @since 2024-10-08 17:03:31
 */
@TableName("users")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Users implements Serializable {


    @TableId(value = "UserID", type = IdType.AUTO)
    private Integer userid;

    private String username;

    private String password;

    private String name;

    private String phone;

    private String role;

    private String number;

    @TableField(value = "ClassID")
    private int classid;

    @TableField(exist = false)
    private String token;

}

